import request from '@/utils/request'

// 查询字典数据列表
export function GetDataDictionary(params) {
  return request({
    url: '/basic/GetDataDictionary',
    headers: {
      isNeedFixParmas: true,
    },
    method: 'post',
    data: params,
  })
}

//查询树形数据字典列表
export function GetDataDictionaryTree(params) {
  return request({
    url: '/basic/GetDataDictionaryTree',
    headers: {
      isNeedFixParmas: true,
    },
    method: 'post',
    data: params,
  })
}
